package interfaceRepositorio;

import java.util.Collection;

import entidades.Lote;
import excecoes.FalhaPersistenciaException;

public interface IRepositorioLote {

	public abstract void cadastrar(Lote lote) throws FalhaPersistenciaException;

	public abstract void atualizar(Lote lote) throws FalhaPersistenciaException;

	public abstract Collection<Lote> consultarTodos()
			throws FalhaPersistenciaException;

	public abstract Lote consultarLote(int numeroLote)
			throws FalhaPersistenciaException;

}